﻿
using System.Windows;
using EveIntel.WpfApplication.Interfaces;

namespace EveIntel.WpfApplication.Views
{
    /// <summary>
    /// Interaction logic for AboutView.xaml
    /// </summary>
    public partial class AboutView : Window, IAboutView
    {
        public AboutView()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Shows the view 
        /// </summary>
        /// <param name="owner"></param>
        public bool? ShowDialog(Window owner)
        {
            this.Owner = owner;
            this.WindowStartupLocation = owner == null
                                             ? System.Windows.WindowStartupLocation.CenterScreen
                                             : System.Windows.WindowStartupLocation.CenterOwner;
            return this.ShowDialog();
        }
    }
}
